package com.sgcc.ln.pmos.mobileapp.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.sgcc.pmos.nativesdk.R;
import com.sgcc.ln.pmos.mobileapp.bean.DataDifferentItemBean;

import java.util.List;


public class DataDifferentItemAdapter extends BaseQuickAdapter<DataDifferentItemBean, BaseViewHolder> {

    public DataDifferentItemAdapter(List<DataDifferentItemBean> list) {
        super(R.layout.item_data_different_layout, list);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, DataDifferentItemBean s) {

        baseViewHolder.setText(R.id.tvName, s.getName());
        baseViewHolder.setText(R.id.tvInput, s.getInput());
        baseViewHolder.setText(R.id.tvDistinguish, s.getDistinguish());
    }
}
